package com.moonshineproject.plugin.console
{
	import flash.events.Event;

	public class ConsoleCommandEvent extends Event
	{
		public static const EVENT_COMMAND:String = "consoleCommand";
		
		public var command:String;
		public var args:Array;
		
		public function ConsoleCommandEvent(command:String, args:Array)
		{
			this.command = command;
			this.args = args;
			super(EVENT_COMMAND, false, true);
		}
		
		override public function clone():Event {
			return new ConsoleCommandEvent(command, args);
		}
	}
}